Does anyone know if there is a way to clear the buffer from within a C program?
Problem: If I hit soft limits I need to disable the drives before disabling the soft limits and feed hold. Otherwise as soon as I disable soft limits the machine will crash (hopefully into the hard limit switches). I want the disable soft limits button I created to both disable the soft limit and clear the buffer.
Perhaps there is a better way.
Thanks,
Colin